﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyCore.EndpointAudits
{
    public class EndpointAuditResult
    {

        /// <summary>
        /// 区域
        /// </summary>
        public string Area { get; set; }
        /// <summary>
        /// 控制器
        /// </summary>
        public string Controller { get; set; }
        /// <summary>
        /// 方法
        /// </summary>
        public string Action { get; set; }
        /// <summary>
        /// 请求方式
        /// </summary>
        public string Method { get; set; }
        /// <summary>
        /// /描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 请求url
        /// </summary>
        public string RequestUrl { get; set; }
        /// <summary>
        /// 请求参数
        /// </summary>
        public string RequestParameters { get; set; }
        /// <summary>
        /// 请求IP
        /// </summary>
        public string RequestIp { get; set; }
        /// <summary>
        /// IP所属真实地址
        /// </summary>
        public string IpAddress { get; set; }
        /// <summary>
        /// 操作系统
        /// </summary>
        public string OperatingSystem { get; set; }
        /// <summary>
        /// 设备类型
        /// </summary>
        public string DeviceType { get; set; }
        /// <summary>
        /// 浏览器名称
        /// </summary>
        public string BrowserName { get; set; }
        /// <summary>
        /// 浏览器版本
        /// </summary>
        public string Version { get; set; }
        /// <summary>
        /// 响应数据
        /// </summary>
        public string ResponseData { get; set; }
        /// <summary>
        /// 执行耗时(毫秒)
        /// </summary>
        public long ExecutionDuration { get; set; }
    }
}
